Having a problem with custom geometry and mapping