Fixed view issue in windows

all windows are showed over all graphics, but windows are the lowest
layer.