Allow for floating pixelratios. (Happens when people use browser zoom)
Merge pull request #1 from tino/master

Allow for floating pixelratios. (Happens when people use browser zoom)