The front only contains plastic parts on most showers so it must be misaligning or pushing another part causing a short......
Have a look at the parts that aligh when the front is put on and check around those areas for possible problems (selector, power switch etc)
As viewer siad you may...