added getwidth and height from native bitmap