add WindowSnapPositionToGrid component