no longer breaks when gold is located in bottom-right corner