use proper coordinates for the level and wait until it is loaded before computing image offsets and widths