Changed bmp loader class. No compiling error but doesn't work