When I use a map of size 1024 x 1024 it's weirdly cropped and when I use a map of size 512 x 512 doesn't show at all. Resolutions 1025 and 1023 are fine. The same goes with 512 map resolution. I guess there is something wrong with an exponent of two resolutions.