Electrical box moved near wall opening