refactor plane widthPx & heightPx to width & height