fixed warnings in WindowManipulator