Move check to see if resizable is enabled before event

Was throwing error because it was trying to set resizable options
without it actually being enabled

fixes #54