Fixed setResizeMode() move
Removed functionless call