[#256] fixed `bounds` creation and limit check
[#256] fixed `bounds` creation and limit check

(tracking other potential regressions before commiting back to the main
branch)

srbala/melonJS,srbala/melonJS,rlugojr/melonJS,gopalindians/melonJS,TukekeSoft/melonJS,TukekeSoft/melonJS,rlugojr/melonJS,gopalindians/melonJS,MarkoIvanetic/melonJS,srbala/melonJS,rlugojr/melonJS,TukekeSoft/melonJS,melonjs/melonJS,MarkoIvanetic/melonJS,melonjs/melonJS,gopalindians/melonJS