Fixing a little bug that allows an resource to be resized to size with area = 0