Added missing variable declaration

This should fix the "reflow-bug" that produced the error message "compute_dimensions could not be found on undefined".