Fix #5 buttons hidden after reopening map frame