added working version of map creation -> remember to never use sprite on preload
merge fix