A difference to RMXP is that negative height values will result in exceptions too. Also change Bitmap constructors to not allocate Private struct before potential exceptions.