Corrected a problem with cut-off window shadow