Add option to disable initial resize