Fix for an issue with double clicking stacks