Reworked buttons to work more seamlessly with or without position
coordinates.