Fixed resizable events bug

Fixed bug where the resize callbacks weren't called due to a variable naming problem.
Changes only made to the uncompressed version