Pull request for fix of this issue https://github.com/openlayers/openlayers/issues/928

...th dimensions dividable by tile size

- Fix for problem from this issue: https://github.com/openlayers/openlayers/issues/928