Fixed bug #100 (canvas resize freeze). UI still needs work to compensate on resize