Calculate building button position