Add proportional resize trick