fixed window dragging problem as long as background is enabled